package com.fary.mapper;

import com.fary.base.BaseMapper;
import com.fary.entity.ConsumerLog;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface ConsumerLogMapper extends BaseMapper<ConsumerLog> {

    @Select("SELECT * FROM consumer_log WHERE message_id = #{messageId}")
    ConsumerLog getByMsgIdConsumerLog(String messageId);
}
